package com.winshare.saleAssistant.service;

import com.winshare.saleAssistant.domain.dto.req.AppRoleCreateDTO;
import com.winshare.saleAssistant.domain.dto.req.AppRoleQueryDTO;
import com.winshare.saleAssistant.domain.dto.req.AppRoleUpdateDTO;
import com.winshare.saleAssistant.domain.dto.req.BaseIdDTO;
import com.winshare.saleAssistant.domain.dto.resp.AppRoleRespDTO;
import com.winshare.saleAssistant.util.Page;

public interface AppRoleService {

    void saveAppRole(AppRoleCreateDTO appRoleCreateDTO);

    void updateAppRole(AppRoleUpdateDTO appRoleUpdateDTO);

    Page<AppRoleRespDTO> getAppRoleList(AppRoleQueryDTO appRoleQueryDTO);

    void deleteAppRole(BaseIdDTO baseIdDTO);

    AppRoleRespDTO getAppRoleDetail(BaseIdDTO baseIdDTO);
}
